/**
 * Project Name:DispenserData.java
 * File Name:DispenserData.java
 * Date:2019/4/18 10:42
 * Copyright (c) 2019, zhang.xiangyu@foxmail.com All Rights Reserved.
 */
package com.meatball.dispenser.entity;

import lombok.Data;
import org.springframework.data.mongodb.core.mapping.Document;

import java.io.Serializable;

/**
 * @Title: DispenserData.java
 * @Description: todo(油机打通数据实体)
 * @Author: 張翔宇
 * @Date: 2019/4/18 10:42
 * @Version: V1.0
 */
@Data
@Document("dispenser_data")
public class DispenserData implements Serializable {
    /**
     * 自增ID
     */
    private int id;

    /**
     * uuid
     */
    private String code;

    /**
     * 油站sub_key
     */
    private String sub_key;

    /**
     * 订单id
     */
    private String trade_id;

    /**
     * 油枪号
     */
    private String gun_code;

    /**
     * 匹配时间
     */
    private String mach_time;

    /**
     * 单价
     */
    private int price;

    /**
     * 累计升数
     */
    private int volume_total;

    /**
     * 质量(升数)
     */
    private double qty;

    /**
     * 总价
     */
    private int moneys;
}
